package com.yilin.tms.core.entity.system.param;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.*;

/**
 * 描   述： 区域
 * 版 本 号：  V1.0
 */

@Entity
@Table(name = "param_area")
@TableName("param_area")
public class Area extends BaseEntity {
    @Column
    private String name;  //区域名称
    @Column
    private Double bdLng;  //百度 经度
    @Column
    private Double bdLat;  //百度 纬度
    @Column
    private Double gdLng;  //高德 经度
    @Column
    private Double gdLat;  //高德 纬度
    //父ID
    @Column(name = "parent_id")
    private String parentId;

    @Column(name="area_code")
    private String areaCode;  //区域码
    @Column(name="area_level")
    private Integer areaLevel;//所属等级默认为1
    @Column(name="remark")
    private String remark;//备注

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getBdLng() {
        return bdLng;
    }

    public void setBdLng(Double bdLng) {
        this.bdLng = bdLng;
    }

    public Double getBdLat() {
        return bdLat;
    }

    public void setBdLat(Double bdLat) {
        this.bdLat = bdLat;
    }

    public Double getGdLng() {
        return gdLng;
    }

    public void setGdLng(Double gdLng) {
        this.gdLng = gdLng;
    }

    public Double getGdLat() {
        return gdLat;
    }

    public void setGdLat(Double gdLat) {
        this.gdLat = gdLat;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getAreaLevel() {
        return areaLevel;
    }

    public void setAreaLevel(Integer areaLevel) {
        this.areaLevel = areaLevel;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
